# -*- coding: utf-8; mode: snippet -*-
# name: string.match(RegExp)
# key: match
# contributor: Chen Bin <chenbin.sh AT gmail>
# --
// Executes the search for a match between a regular expression and a specified string. Returns true or false.
'${1:hello}'.match(/${2:[a-z]*}/)
